<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Os1: g2o::PropertyMap Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Os1
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">OrbSlam2 documentado y modificado</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,'Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classg2o_1_1_property_map.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classg2o_1_1_property_map-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">g2o::PropertyMap Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>a collection of properties mapping from name to the property itself  
 <a href="classg2o_1_1_property_map.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="property_8h_source.html">property.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for g2o::PropertyMap:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classg2o_1_1_property_map__inherit__graph.svg" width="206" height="202"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for g2o::PropertyMap:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classg2o_1_1_property_map__coll__graph.svg" width="158" height="127"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ac57ddbe51d16070e697fe314889fee03"><td class="memItemLeft" align="right" valign="top">typedef std::map&lt; std::string, <a class="el" href="classg2o_1_1_base_property.html">BaseProperty</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_property_map.html#ac57ddbe51d16070e697fe314889fee03">BaseClass</a></td></tr>
<tr class="separator:ac57ddbe51d16070e697fe314889fee03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af09ea140ab099b1762e9634b7fdcaf52"><td class="memItemLeft" align="right" valign="top">typedef BaseClass::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_property_map.html#af09ea140ab099b1762e9634b7fdcaf52">PropertyMapConstIterator</a></td></tr>
<tr class="separator:af09ea140ab099b1762e9634b7fdcaf52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5dd0defe4a5096f0d5602b38e837a78"><td class="memItemLeft" align="right" valign="top">typedef BaseClass::iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_property_map.html#af5dd0defe4a5096f0d5602b38e837a78">PropertyMapIterator</a></td></tr>
<tr class="separator:af5dd0defe4a5096f0d5602b38e837a78"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6b90b5cfd16125c174e140af6e40dad9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_property_map.html#a6b90b5cfd16125c174e140af6e40dad9">addProperty</a> (<a class="el" href="classg2o_1_1_base_property.html">BaseProperty</a> *p)</td></tr>
<tr class="memdesc:a6b90b5cfd16125c174e140af6e40dad9"><td class="mdescLeft">&#160;</td><td class="mdescRight">add a property to the map  <a href="#a6b90b5cfd16125c174e140af6e40dad9">More...</a><br /></td></tr>
<tr class="separator:a6b90b5cfd16125c174e140af6e40dad9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f96ea923fe711a0ffa6e4c6479945d9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_property_map.html#a8f96ea923fe711a0ffa6e4c6479945d9">eraseProperty</a> (const std::string &amp;name_)</td></tr>
<tr class="memdesc:a8f96ea923fe711a0ffa6e4c6479945d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">remove a property from the map  <a href="#a8f96ea923fe711a0ffa6e4c6479945d9">More...</a><br /></td></tr>
<tr class="separator:a8f96ea923fe711a0ffa6e4c6479945d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3a37fb6f8358f3c63a13678349f1f82"><td class="memTemplParams" colspan="2">template&lt;typename P &gt; </td></tr>
<tr class="memitem:ab3a37fb6f8358f3c63a13678349f1f82"><td class="memTemplItemLeft" align="right" valign="top">P *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classg2o_1_1_property_map.html#ab3a37fb6f8358f3c63a13678349f1f82">getProperty</a> (const std::string &amp;name_)</td></tr>
<tr class="memdesc:ab3a37fb6f8358f3c63a13678349f1f82"><td class="mdescLeft">&#160;</td><td class="mdescRight">return a property by its name  <a href="#ab3a37fb6f8358f3c63a13678349f1f82">More...</a><br /></td></tr>
<tr class="separator:ab3a37fb6f8358f3c63a13678349f1f82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b09845c08bdfb682a13516d4eacd452"><td class="memTemplParams" colspan="2">template&lt;typename P &gt; </td></tr>
<tr class="memitem:a9b09845c08bdfb682a13516d4eacd452"><td class="memTemplItemLeft" align="right" valign="top">const P *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classg2o_1_1_property_map.html#a9b09845c08bdfb682a13516d4eacd452">getProperty</a> (const std::string &amp;name_) const</td></tr>
<tr class="separator:a9b09845c08bdfb682a13516d4eacd452"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add6e602dcd651b8883c30c350d23692f"><td class="memTemplParams" colspan="2">template&lt;typename P &gt; </td></tr>
<tr class="memitem:add6e602dcd651b8883c30c350d23692f"><td class="memTemplItemLeft" align="right" valign="top">P *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classg2o_1_1_property_map.html#add6e602dcd651b8883c30c350d23692f">makeProperty</a> (const std::string &amp;name_, const typename P::ValueType &amp;v)</td></tr>
<tr class="memdesc:add6e602dcd651b8883c30c350d23692f"><td class="mdescLeft">&#160;</td><td class="mdescRight">create a property and insert it  <a href="#add6e602dcd651b8883c30c350d23692f">More...</a><br /></td></tr>
<tr class="separator:add6e602dcd651b8883c30c350d23692f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0407e6a72afafd608f13cfdffc6ffc06"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_property_map.html#a0407e6a72afafd608f13cfdffc6ffc06">updateMapFromString</a> (const std::string &amp;values)</td></tr>
<tr class="memdesc:a0407e6a72afafd608f13cfdffc6ffc06"><td class="mdescLeft">&#160;</td><td class="mdescRight">update the map based on a name=value string, e.g., name1=val1,name2=val2  <a href="#a0407e6a72afafd608f13cfdffc6ffc06">More...</a><br /></td></tr>
<tr class="separator:a0407e6a72afafd608f13cfdffc6ffc06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43df66ba15f9425abbd0e888a7b67251"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_property_map.html#a43df66ba15f9425abbd0e888a7b67251">updatePropertyFromString</a> (const std::string &amp;name, const std::string &amp;value)</td></tr>
<tr class="memdesc:a43df66ba15f9425abbd0e888a7b67251"><td class="mdescLeft">&#160;</td><td class="mdescRight">update a specfic property with a new value  <a href="#a43df66ba15f9425abbd0e888a7b67251">More...</a><br /></td></tr>
<tr class="separator:a43df66ba15f9425abbd0e888a7b67251"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4ad984887fe56189f7e214f9760f161"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_property_map.html#aa4ad984887fe56189f7e214f9760f161">writeToCSV</a> (std::ostream &amp;os) const</td></tr>
<tr class="separator:aa4ad984887fe56189f7e214f9760f161"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b7213999ad4ea636ffeda176cb92b52"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_property_map.html#a0b7213999ad4ea636ffeda176cb92b52">~PropertyMap</a> ()</td></tr>
<tr class="separator:a0b7213999ad4ea636ffeda176cb92b52"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>a collection of properties mapping from name to the property itself </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="ac57ddbe51d16070e697fe314889fee03"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::map&lt;std::string, <a class="el" href="classg2o_1_1_base_property.html">BaseProperty</a>*&gt; <a class="el" href="classg2o_1_1_property_map.html#ac57ddbe51d16070e697fe314889fee03">g2o::PropertyMap::BaseClass</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af09ea140ab099b1762e9634b7fdcaf52"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BaseClass::const_iterator <a class="el" href="classg2o_1_1_property_map.html#af09ea140ab099b1762e9634b7fdcaf52">g2o::PropertyMap::PropertyMapConstIterator</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af5dd0defe4a5096f0d5602b38e837a78"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BaseClass::iterator <a class="el" href="classg2o_1_1_property_map.html#af5dd0defe4a5096f0d5602b38e837a78">g2o::PropertyMap::PropertyMapIterator</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a0b7213999ad4ea636ffeda176cb92b52"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">g2o::PropertyMap::~PropertyMap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a6b90b5cfd16125c174e140af6e40dad9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool g2o::PropertyMap::addProperty </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classg2o_1_1_base_property.html">BaseProperty</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>add a property to the map </p>

</div>
</div>
<a id="a8f96ea923fe711a0ffa6e4c6479945d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool g2o::PropertyMap::eraseProperty </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>remove a property from the map </p>

</div>
</div>
<a id="ab3a37fb6f8358f3c63a13678349f1f82"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename P &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">P* g2o::PropertyMap::getProperty </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return a property by its name </p>

</div>
</div>
<a id="a9b09845c08bdfb682a13516d4eacd452"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename P &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const P* g2o::PropertyMap::getProperty </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name_</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="add6e602dcd651b8883c30c350d23692f"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename P &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">P* g2o::PropertyMap::makeProperty </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const typename P::ValueType &amp;&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>create a property and insert it </p>

</div>
</div>
<a id="a0407e6a72afafd608f13cfdffc6ffc06"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool g2o::PropertyMap::updateMapFromString </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>values</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>update the map based on a name=value string, e.g., name1=val1,name2=val2 </p>
<dl class="section return"><dt>Returns</dt><dd>true, if it was possible to update all parameters </dd></dl>

</div>
</div>
<a id="a43df66ba15f9425abbd0e888a7b67251"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool g2o::PropertyMap::updatePropertyFromString </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>update a specfic property with a new value </p>
<dl class="section return"><dt>Returns</dt><dd>true if the params is stored and update was carried out </dd></dl>

</div>
</div>
<a id="aa4ad984887fe56189f7e214f9760f161"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void g2o::PropertyMap::writeToCSV </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/alejandro/Desarrollo eclipse/os1/Thirdparty/g2o/g2o/stuff/<a class="el" href="property_8h_source.html">property.h</a></li>
<li>/home/alejandro/Desarrollo eclipse/os1/Thirdparty/g2o/g2o/stuff/<a class="el" href="property_8cpp.html">property.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceg2o.html">g2o</a></li><li class="navelem"><a class="el" href="classg2o_1_1_property_map.html">PropertyMap</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li>
  </ul>
</div>
</body>
</html>
